<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<body>
        <div class="window mt25">
            <img src="testJs/img1.png">
        </div>
        <div class="news w350 mt25">
            <h3 class="h3">热门推荐</h3>
            <ul>
                <c:forEach items="${tuijian}" var="tj">
                    <li>
                        <a href="userIndex?userId=${tj.id}" rel="bookmark" title="${tj.nickName}"
                           target="_blank">
                            <div class="news-img">
                                <img src="${tj.images}" width="143px" height="95px"/>
                            </div>
                            <p><a href="userIndex?userId=${tj.id}">${tj.nickName}</a></p>
                            <input name="${tj.id}" type="button" class="btnguanzhu" id="${tj.id}" value="+关注"  onclick="attention(${tj.id})"/>
                        </a>
                    </li>

                </c:forEach>
            </ul>
        </div>
        <div class="window mt15">
            <img src="testJs/img3.png">
        </div>
        <div class="hot mt25">
            <h3 class="h3">热点文章</h3>
            http://localhost/wordpress/wp-content/themes/chuxiawww.zhutihome.com_/images/thumb.png
            <ul class="hot-in">
                <li><a href="http://localhost/wordpress/2018/05/11/hello-world/" rel="bookmark" title="世界，您好！"
                       target="_blank">
                    <div class="in-cont"><h2>世界，您好！</h2><span>views:&nbsp;2+</span></div>
                </a></li>
            </ul>
        </div>
        <div class="tags fd w320 mt25">
            <h3 class="h3">标签集合</h3>
            暂无标签！
        </div>
    </div>

</body>
</html>